protobuf_llvm_13.0.1-8
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 18 Nov 2022 08:47:27 +0000 (08:47 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 18 Nov 2022 08:47:27 +0000 (08:47 +0000)
Gbp-Pq: Name protobuf_llvm_13.0.1-8.patch

clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp

index 96451f77646757458a7dfa669f07d8d8679e88b8..7d06928c2ddd15f7b4aa1996f98599fe8ee6974b 100644 (file)
@@ -66,9 +66,8 @@ int main(int argc, char *argv[]) {
   const auto JsonStatus =
       google::protobuf::util::MessageToJsonString(Response, &Output, Options);
   if (!JsonStatus.ok()) {
-    clang::clangd::elog("Can not convert response ({0}) to JSON ({1}): {2}\n",
-                        Response.DebugString(), JsonStatus.error_code(),
-                        JsonStatus.error_message().as_string());
+    clang::clangd::elog("Can not convert response ({0}) to JSON: {1}\n",
+                        Response.DebugString(), JsonStatus.ToString());
     return -1;
   }
   llvm::outs() << Output;